//
//  PersistenceViewController.h
//  Persistence
//
//  Created by KaiKai on 11-8-20.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <sqlite3.h>

//#define KFileName @"data.plist"

//#define KFileName	@"archive"
//#define KDatakey	@"Data"

#define KFileName @"data.sqlite3"

@interface PersistenceViewController : UIViewController
{
	IBOutlet UITextField *field1;
	IBOutlet UITextField *field2;
	IBOutlet UITextField *field3;
	IBOutlet UITextField *field4;
	
	sqlite3 *database;
}

@property (nonatomic, retain) UITextField *field1;
@property (nonatomic, retain) UITextField *field2;
@property (nonatomic, retain) UITextField *field3;
@property (nonatomic, retain) UITextField *field4;

- (NSString *)dataFilePath;
- (void)applicationWillTerminate:(NSNotification *)notification;

@end
